package com.ruoyi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;

/**
 * 启动程序
 * 
 * @author ruoyi
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class RuoYiApplication {
    public static void main(String[] args) {
        //SpringApplication.run(RuoYiApplication.class, args);
        System.out.println("地理信息系统启动成功");
        SpringApplicationBuilder builder = new SpringApplicationBuilder(RuoYiApplication.class);
        builder.headless(false).run(args);
    }
}
